package com.lsh.oms.core.model.query;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Mis查询接口订单详情接口订单明细Model
 *
 * @author panxudong
 * @date 16/8/28
 */
@Setter
@Getter
@NoArgsConstructor
@ToString
public class MisOrderDetailForDetail implements Serializable {

    private static final long serialVersionUID = -4762535895448151738L;

    //订单号
    private Long orderCode;

    private Integer itemCode;

    //类型
    private Integer type;

    //商品编码
    private Long goodsCode;

    //商品名称
    private String goodsName;

    //商品售卖单位
    private BigDecimal goodsSaleUnit;

    //数量
    private BigDecimal quantity;

    //单价
    private BigDecimal price;

    //关联编码
    private Long giftSrcCode;

    //套餐编号
    private Long packageCode;

    //原价
    private BigDecimal originalPrice;

    //实际订购数量(ext)
    private BigDecimal realQty;

    //(ext)
    private String imgList;

    //赠品信息(ext)
    private String giveInfo;
    //
    private String activityInfo;

    private BigDecimal cutPromotionMoney;

    private BigDecimal ticketCouponPromotionMoney;

    //ID(业务字段,不被序列化返回)
    transient private Long id;

    //detailExt字段
    transient private String detailExt;

    private Integer isWeighingGoods;

    //未税采购价
    private BigDecimal excludeTaxCost;

    //税额
    private BigDecimal taxCost;
    private String goodsExtAttrs;
}
